package com.iring.domain.pbx.udpsend;

/**
 * 连接vpn参数
 *
 * @author wanggan
 */
public class VpnInfo extends UdpInfo {

    private Integer status;// 默认关闭vpn连接

    private String vpnIp;

    private String vpnUsername;

    private String vpnPassword;

    private String vpnPort;

    public VpnInfo() {
    }

    public VpnInfo(Integer status) {
        this.status = status;

    }

    public VpnInfo(Integer status, String vpnIp, String vpnUsername, String vpnPassword,
                   String vpnPort) {
        this.status = status;
        this.vpnIp = vpnIp;
        this.vpnUsername = vpnUsername;
        this.vpnPassword = vpnPassword;
        this.vpnPort = vpnPort;
    }

    @Override
    public String toString() {
        return "{status:" + status + ",vpnIp:" + vpnIp + ",vpnUsername:" + vpnUsername
                + ",vpnPassword:" + vpnPassword + ",vpnPort:" + vpnPort + "}";
    }

    public Integer getStatus() {
        return status;
    }

    public String getVpnIp() {
        return vpnIp;
    }

    public String getVpnUsername() {
        return vpnUsername;
    }

    public String getVpnPassword() {
        return vpnPassword;
    }

    public String getVpnPort() {
        return vpnPort;
    }

    public void setVpnPort(String vpnPort) {
        this.vpnPort = vpnPort;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setVpnIp(String vpnIp) {
        this.vpnIp = vpnIp;
    }

    public void setVpnUsername(String vpnUsername) {
        this.vpnUsername = vpnUsername;
    }

    public void setVpnPassword(String vpnPassword) {
        this.vpnPassword = vpnPassword;
    }
}
